<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>Document</title>
    <style></style>
  </head>
  <body>
    <div></div>
    <script>
      // setTimeout(function () {
      //   var a = "hello";
      //   setTimeout(function () {
      //     var b = "lagou";
      //     setTimeout(function () {
      //       var c = "I ♥ U";
      //       console.log(a + b + c);
      //     }, 1000);
      //   }, 1000);
      // }, 1000);
      Promise.resolve("hello")
        .then((value) => {
          return value + " " + "lagou";
        })
        .then((value) => {
          return value + " " + "I ♥ U";
        })
        .then((value) => console.log(value));
    </script>
  </body>
</html>
